package source.Objetos 
{
    import net.flashpunk.Entity;
    import net.flashpunk.graphics.Image;
    import source.Assets;
	/**
	 * ...
	 * @author Noel Berry
	 */
	public class Pinchos extends Entity
	{
		public var sprite:Image = new Image(Assets.OBJ_PINCHOS);
		
		public function Pinchos(x:int, y:int) 
		{
			super(x, y);
			
			//configuramos el gráfico y la máscara:
			graphic = sprite;
			//mask = new Pixelmask(Assets.OBJ_PINCHOS);
            setHitbox(24, 24, 0, 0);
			
			type = "pinchos"; //configuramos el tipo
		}
	}
}